
<?php
    session_start();
    if (isset($_SESSION['userinfo']) or $_SESSION['userinfo']!="")
    {
        echo "<script language='javascript'>";
        echo "self.location='detail.php';";
        echo "</script>";
        exit();  
    }
    else
    {
        echo "<script language='javascript'>";
        echo "self.location='login.html';";
        echo "</script>";
        exit();
    }
        
?>
